home *** CD-ROM | disk | FTP | other *** search
- Bugs
- ====
- 1. Most of the problems concern with the font and sprite routines.
- Initially, I had wanted my font/sprite struct to consist of only
- one structure instead of the present separate structure. For
- example, for the sprite struct was supposed to be like
-
-
- typedef struct {
-
-
-
- } SPRITE;
-
- typedef struct {
- .
- .
- .
-
- SPRITE **sprite;
- } SPRITEHEADER.
-
- At least using this format, I need not have to worry about
- declaring an extern SPRITE_HEADER like what I am doing right
- now.. The problem is that I had some problems trying to allocate
- space for the structure.. and later, I similarly could not pass
- the structure out probably..
-
- ie.e
-
- SPRITEHEADER *LoadSprite()
- {
- SPRITEHEADER *header;
-
-
- ....
-
- return header;
- }
-
- in my external file,
-
-
- newheader = LoadSprite(..);
-
- the header is passed properly but the header->sprite was not
- ok.. I don't know what's wrong.. but I have a guess that it is
- because of passing by reference/copy problem..I have a hard time
- trying to debug this and finally decided to give up... at least
- until I have a better understanding of the problem.. if anyone
- can offer their solutions, please let me know..:)
-
- Other than this, I believe that there are a lot of other bugs
- but somehow I couldn't detect on my machine.. let me know if you
- got any bugs...:)
-
-
- For any enquires/bug reports, please email to
-
- chtay@iti.gov.sg
-
-
- Moebius
-
-
-
-